const baseConfig = require('../../prettier.config.cjs');

/** @type {import('prettier').Config} */
const config = {
  ...baseConfig,
  jsxSingleQuote: true,
  // jsx 标签的反尖括号需要换行
  jsxBracketSameLine: false,
  // 在jsx中把'>' 是否单独放一行
  bracketSameLine: false,
  singleAttributePerLine: true,
  htmlWhitespaceSensitivity: 'css',
  embeddedLanguageFormatting: 'auto'
};

module.exports = config;
